include cpp.mak

# -pedantic -pedantic-errors 
OPT := -ansi  -std=c++11 \
    -W -Wall -Wno-unused-parameter  -pthread -Wno-variadic-macros
	

OPTION := $(OPT)  -lHiRTPCommon -lgtest -lgtest_main -luv \
	-I../../include -I../../include/libuv  -I../../include/common \
	-I../include/gtest -I/usr/include -Iinclude  -I./include/common \
	-L../../libs -L../../libs/common
	

.cpp.o:
	g++ -c $< $(OPTION)

export LD_LIBRARY_PATH=/usr/lib;./;../../libs;../../libs/common;
all: clean   $(CPP_SOURCE)
	g++ -o  test *.o $(OPTION) 
	./test

clean:
	rm -f *.o

